package com.zh.tea.service;

import com.github.pagehelper.PageInfo;
import com.zh.tea.entity.PageTea;
import com.zh.tea.entity.Tea;

public interface TeaService {
	//增加茶品种类
		public int addTea(Tea tea);
	//动态分页查询所有茶品
		public PageInfo<Tea> getTea(Tea tea,Integer pagNo,Integer PageSize);
	//按照id删除茶品
		public int delTea( Tea tea);
	//动态更新茶品内容
		public int updTea(Tea tea);

		//按id查询
	public Tea getTeaById(Integer id);
		


}